﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using EBookStore.Books;

namespace EBookStore.UnitTests
{
    [TestFixture]
    [Category("objects test")]
    class Test_Book
    {
        [Test]
        public void TestEquality()
        {
            Book b1 = new Book("1");
            Book b2 = new Book("1");
            Assert.AreNotSame(b1, b2);
        }

        [Test]
        public void TestISBN() {
            Book b1 = new Book("1");
            Book b2 = new Book("1");


            Assert.AreEqual(b1.ISBN, b2.ISBN);
        }




        
    }
}
